package com.jobjoin.jobjoin.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 岗位表 一个企业可以发布多个岗位
 * </p>
 *
 * @author WinsomeC
 * @since 2021-04-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Position对象", description="岗位表 一个企业可以发布多个岗位")
public class Position implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private Integer id;

    @ApiModelProperty(value = "企业编号")
    private Integer empid;

    @ApiModelProperty(value = "岗位名称")
    private String name;

    @ApiModelProperty(value = "岗位描述")
    private String desc;

    @ApiModelProperty(value = "岗位待遇")
    private String treatment;

    @ApiModelProperty(value = "创建人编号")
    private Integer creatorid;

    @ApiModelProperty(value = "创建日期")
    private Date createdate;

    @ApiModelProperty(value = "数据级别 0正常 1审核中 2被否决 -1已删除 -2草稿")
    private Integer datalevel;


}
